
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <table id="table" class="table table-striped" width="100%">
        <tr>
            <td colspan="10">商品信息</td>
        </tr>
        <tr>
            <td>商品ID</td>
            <td>商品编号</td>
            <td>商品名称</td>
            <td>商品描述</td>
            <td>游戏区服</td>
            <td>商品价格</td>
            <td>商品类型</td>
            <td>商品库存</td>
            <td>交易时间</td>
            <td>有效期</td>
        </tr>
        <tr>
            <td><a href="{:url('goods/goods/edit',['ids'=>$row.goods.id])}">{$row.goods.id|htmlentities}</td>
            <td><a href="{:url('goods/goods/edit',['ids'=>$row.goods.id])}">{$row.goods.goods_sn|htmlentities}</a></td>
            <td style="word-break: break-all;">{$row.goods.title|htmlentities}</td>
            <td style="word-break: break-all;">{$row.goods.desc|htmlentities}</td>
            <td>{$row.goods.gamename|htmlentities}{$row.goods.type_name|htmlentities}{$row.goods.plat|htmlentities}{$row.goods.operator|htmlentities}{$row.goods.area|htmlentities}{$row.goods.server|htmlentities}</td>
            <td>{$row.goods.price|htmlentities}</td>
            <td>{$row.goods.type_name|htmlentities}</td>
            <td>{$row.goods.stock|htmlentities}</td>
            <td>{:$row.goods.jy_time?datetime($row.goods.jy_time):''}</td>
            <td>{:$row.goods.havetime?datetime($row.goods.havetime):''}</td>
        </tr>
    </table>

    <table id="table" class="table table-striped" width="100%">
        <tr>
            <td colspan="14">订单信息</td>
        </tr>
        <tr>
            <td>订单ID</td>
            <td>订单编号</td>
            <td>购买数量</td>
            <td>订单金额</td>
            <td>卖家手机号</td>
            <td>卖家QQ</td>
            <td>买家手机号</td>
            <td>买家QQ</td>
            <td>下单时间</td>
            <td>支付时间</td>
            <td>完成时间</td>
            <td>收获区服</td>
            <td>角色名</td>
        </tr>
        <tr>
            <td>{$row.id|htmlentities}</td>
            <td>{$row.order_sn|htmlentities}</td>
            <td>{$row.num|htmlentities}</td>
            <td>{$row.amount|htmlentities}</td>
            <td>{$row.goods.mobile|htmlentities}</td>
            <td>{$row.goods.qq|htmlentities}</td>
            <td>{$row.mobile|htmlentities}</td>
            <td>{$row.qq|htmlentities}</td>
            <td>{:$row.ontime?datetime($row.ontime):''}</td>
            <td>{:$row.paytime?datetime($row.paytime):''}</td>
            <td>{:$row.overtime?datetime($row.overtime):''}</td>
            <td>{$row.role_server|htmlentities}|{$row.type_name|htmlentities}</td>
            <td>{$row.role|htmlentities}</td>

        </tr>
    </table>
    <table id="table" class="table table-striped" width="100%">
        <tr>
            <td colspan="3">游戏账号信息</td>
        </tr>
        <tr>
            <td>游戏账号</td>
            <td>游戏密码</td>
            <td>游戏信息</td>
        </tr>
        <tr>
            <td>{$row.goods.g_account|htmlentities}</td>
            <td>{$row.goods.g_password|htmlentities}</td>
            <td>
                {foreach name="sku" item="vo" key="k"}
                {$k} : {$vo}<br/>
                {/foreach}
            </td>
        </tr>
    </table>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
